<?php

/**
 * wxpay_config short summary.
 *
 * wxpay_config description.
 *
 * @version 1.0
 * @author xianbin
 */
class wxpay_config
{
    public static function get_config($str)
    {
        $ci=&get_instance();
        $ci->config->load('wxpay_config',TRUE);
        //$ci->config->set_item('APPID','appidshezhi','wxpay_config');
        $config=$ci->config->item('wxpay_config');
        return $config["$str"];
    }
}